/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.hotels;

import java.util.List;
import javax.jws.WebMethod;
import javax.jws.WebService;

/**
 *
 * @author Liren
 */
@WebService()
public class HotelSrv {
    @WebMethod
    public List<Hotel> getHotels(int startID,int endID){
        HotelHelper helper = new HotelHelper();
        return helper.getHotels(startID, endID);
    }
    @WebMethod
    public Hotel getHotel(int id){
        return new Hotel();
    }
}
